Skip to content

Fixes #81 - Add CI workflow for source distribution#93

Merged
andygrove merged 1 commit into
apache:masterfrom
martin-g:issue-81-source-distribution
Dec 1, 2022
Merged

Fixes #81 - Add CI workflow for source distribution#93
andygrove merged 1 commit into
apache:masterfrom
martin-g:issue-81-source-distribution

Conversation

@martin-g
Copy link
Copy Markdown
Member

@martin-g martin-g commented Dec 1, 2022

Which issue does this PR close?

Closes #81 .

Rationale for this change

Release source distribution in addition to the binary wheels.

What changes are included in this PR?

Adapted the config in pyproject.toml and added a new CI job.

Are there any user-facing changes?

No.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
@martin-g
Copy link
Copy Markdown
Member Author

martin-g commented Dec 1, 2022

Build result could be seen in my fork - Python Release Build

Comment thread pyproject.toml
]
exclude = [".github/**", "ci/**", ".asf.yaml"]
# Require Cargo.lock is up to date
locked = true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this fail the build if Cargo.lock is not up-to-date? This action doesn't run until we tag the release candidate so there is a good chance this will fail unless we also have a CI check on PRs to make sure Cargo.lock is up-to-date?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the build workflow is not enabled for Pull Requests ?
It does not publish anything. I think it is safe to enable it! This way we could notice problems earlier!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 makes sense to me

@martin-g
Copy link
Copy Markdown
Member Author

martin-g commented Dec 1, 2022 via email

@andygrove andygrove merged commit 1180321 into apache:master Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Python source distribution in GitHub workflow

2 participants